<HTML>
<HEAD>
<title>StoreTrivial - </title>
<link rel="stylesheet" href="../../style.css">
</HEAD>
<BODY>
<a href="../index.html">org.mapdb</a>&nbsp;/&nbsp;<a href=".">StoreTrivial</a><br/>
<br/>
<h1>StoreTrivial</h1>
<code><span class="keyword">open</span> <span class="keyword">class </span><span class="identifier">StoreTrivial</span>&nbsp;<span class="symbol">:</span>&nbsp;<a href="../-store/index.html"><span class="identifier">Store</span></a></code><br/>
<p>Store which serializes its content into primitive <code>Map&lt;Long,byte[]&gt;</code>.
It optionally persist its content into file, in this case it supports rollback and durability.</p>
<br/>
<br/>
<h3>Constructors</h3>
<table>
<tbody>
<tr>
<td>
<a href="-init-.html">&lt;init&gt;</a></td>
<td>
<code><span class="identifier">StoreTrivial</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$<init>(kotlin.Boolean)/isThreadSafe">isThreadSafe</span><span class="symbol">:</span>&nbsp;<span class="identifier">Boolean</span>&nbsp;<span class="symbol">=</span>&nbsp;true<span class="symbol">)</span></code><p>Store which serializes its content into primitive <code>Map&lt;Long,byte[]&gt;</code>.
It optionally persist its content into file, in this case it supports rollback and durability.</p>
</td>
</tr>
</tbody>
</table>
<h3>Properties</h3>
<table>
<tbody>
<tr>
<td>
<a href="is-closed.html">isClosed</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">isClosed</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="is-read-only.html">isReadOnly</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">isReadOnly</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="is-thread-safe.html">isThreadSafe</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">val </span><span class="identifier">isThreadSafe</span><span class="symbol">: </span><span class="identifier">Boolean</span></code><p>returns true if this is configured to be thread safe</p>
</td>
</tr>
<tr>
<td>
<a href="lock.html">lock</a></td>
<td>
<code><span class="keyword">val </span><span class="identifier">lock</span><span class="symbol">: </span><a href="http://docs.oracle.com/javase/6/docs/api/java/util/concurrent/locks/ReadWriteLock.html"><span class="identifier">ReadWriteLock</span></a><span class="symbol">?</span></code></td>
</tr>
</tbody>
</table>
<h3>Functions</h3>
<table>
<tbody>
<tr>
<td>
<a href="clear.html">clear</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">clear</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="close.html">close</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">close</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="commit.html">commit</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">commit</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="compact.html">compact</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">compact</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="compare-and-swap.html">compareAndSwap</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="identifier">compareAndSwap</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$compareAndSwap(kotlin.Long, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.compareAndSwap.R)))/recid">recid</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$compareAndSwap(kotlin.Long, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.compareAndSwap.R)))/expectedOldRecord">expectedOldRecord</span><span class="symbol">:</span>&nbsp;<span class="identifier">R</span><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$compareAndSwap(kotlin.Long, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.compareAndSwap.R)))/newRecord">newRecord</span><span class="symbol">:</span>&nbsp;<span class="identifier">R</span><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$compareAndSwap(kotlin.Long, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.StoreTrivial.compareAndSwap.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.compareAndSwap.R)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="delete.html">delete</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="identifier">delete</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$delete(kotlin.Long, org.mapdb.Serializer((org.mapdb.StoreTrivial.delete.R)))/recid">recid</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$delete(kotlin.Long, org.mapdb.Serializer((org.mapdb.StoreTrivial.delete.R)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="equals.html">equals</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">equals</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$equals(kotlin.Any)/other">other</span><span class="symbol">:</span>&nbsp;<span class="identifier">Any</span><span class="symbol">?</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="file-header-check.html">fileHeaderCheck</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">fileHeaderCheck</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$fileHeaderCheck(kotlin.Long)/header">header</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="file-header-compose.html">fileHeaderCompose</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">fileHeaderCompose</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Long</span></code></td>
</tr>
<tr>
<td>
<a href="file-load.html">fileLoad</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">fileLoad</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Boolean</span></code></td>
</tr>
<tr>
<td>
<a href="get.html">get</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="identifier">get</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$get(kotlin.Long, org.mapdb.Serializer((org.mapdb.StoreTrivial.get.R)))/recid">recid</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$get(kotlin.Long, org.mapdb.Serializer((org.mapdb.StoreTrivial.get.R)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">R</span><span class="symbol">?</span></code></td>
</tr>
<tr>
<td>
<a href="get-all-files.html">getAllFiles</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAllFiles</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Iterable</span><span class="symbol">&lt;</span><span class="identifier">String</span><span class="symbol">&gt;</span></code></td>
</tr>
<tr>
<td>
<a href="get-all-recids.html">getAllRecids</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">getAllRecids</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">LongIterator</span></code></td>
</tr>
<tr>
<td>
<a href="load-from.html">loadFrom</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">loadFrom</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$loadFrom(java.io.InputStream)/inStream">inStream</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html"><span class="identifier">InputStream</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="load-from-internal.html">loadFromInternal</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">loadFromInternal</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$loadFromInternal(java.io.InputStream)/inStream">inStream</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html"><span class="identifier">InputStream</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="preallocate.html">preallocate</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">preallocate</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Long</span></code></td>
</tr>
<tr>
<td>
<a href="put.html">put</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="identifier">put</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$put(org.mapdb.StoreTrivial.put.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.put.R)))/record">record</span><span class="symbol">:</span>&nbsp;<span class="identifier">R</span><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$put(org.mapdb.StoreTrivial.put.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.put.R)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Long</span></code></td>
</tr>
<tr>
<td>
<a href="save-to.html">saveTo</a></td>
<td>
<code><span class="keyword">fun </span><span class="identifier">saveTo</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$saveTo(java.io.OutputStream)/outStream">outStream</span><span class="symbol">:</span>&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/io/OutputStream.html"><span class="identifier">OutputStream</span></a><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="update.html">update</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span> <span class="identifier">update</span><span class="symbol">(</span><span class="identifier" id="org.mapdb.StoreTrivial$update(kotlin.Long, org.mapdb.StoreTrivial.update.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.update.R)))/recid">recid</span><span class="symbol">:</span>&nbsp;<span class="identifier">Long</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$update(kotlin.Long, org.mapdb.StoreTrivial.update.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.update.R)))/record">record</span><span class="symbol">:</span>&nbsp;<span class="identifier">R</span><span class="symbol">?</span><span class="symbol">, </span><span class="identifier" id="org.mapdb.StoreTrivial$update(kotlin.Long, org.mapdb.StoreTrivial.update.R, org.mapdb.Serializer((org.mapdb.StoreTrivial.update.R)))/serializer">serializer</span><span class="symbol">:</span>&nbsp;<a href="../-serializer/index.html"><span class="identifier">Serializer</span></a><span class="symbol">&lt;</span><span class="identifier">R</span><span class="symbol">&gt;</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
<tr>
<td>
<a href="verify.html">verify</a></td>
<td>
<code><span class="keyword">open</span> <span class="keyword">fun </span><span class="identifier">verify</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><span class="identifier">Unit</span></code></td>
</tr>
</tbody>
</table>
<h3>Inheritors</h3>
<table>
<tbody>
<tr>
<td>
<a href="../-store-trivial-tx/index.html">StoreTrivialTx</a></td>
<td>
<code><span class="keyword">class </span><span class="identifier">StoreTrivialTx</span>&nbsp;<span class="symbol">:</span>&nbsp;<span class="identifier">StoreTrivial</span><span class="symbol">, </span><a href="../-store-tx/index.html"><span class="identifier">StoreTx</span></a></code></td>
</tr>
</tbody>
</table>
</BODY>
</HTML>
